Skip to content

Conversation

@teofr
Copy link
Contributor

@teofr teofr commented Jan 6, 2026

Added a node checker for the new AST (#1493), it defines a trait to be implemented over the new nodes.

An important note, I use V1 nodes rather than a cursor since it's easier to track what I've seen and what I haven't seen. I found it difficult with a cursor to keep track of the children of a given node that had been processed already, and to traverse them in an arbitrary order. Since this comparison mechanism is temporary I think this solution is ok, but it does mean all the offset calculation is being done again.

@teofr teofr requested review from a team as code owners January 6, 2026 16:04
@changeset-bot
Copy link

changeset-bot bot commented Jan 6, 2026

⚠️ No Changeset found

Latest commit: db16409

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@teofr teofr marked this pull request as draft January 6, 2026 16:46
@teofr teofr marked this pull request as ready for review January 6, 2026 17:41
@teofr teofr force-pushed the teofr/node_checker branch 2 times, most recently from acfa26c to 4cc4786 Compare January 22, 2026 14:35
@teofr teofr requested a review from OmarTawfik January 22, 2026 14:55
@teofr teofr force-pushed the teofr/node_checker branch from 4cc4786 to 072144d Compare January 23, 2026 10:14
@teofr teofr force-pushed the teofr/node_checker branch from 072144d to d95ed0d Compare January 28, 2026 09:05
@teofr teofr force-pushed the teofr/node_checker branch from d95ed0d to db16409 Compare February 2, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants